package com.ctshk.rpc.order.ship.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  船票我的订单
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 11:25
 */
@Data
@ApiModel(value = "MyShipOrderDTO",description = "我的订单-船票")
public class MyShipOrderDTO implements Serializable {

    @ApiModelProperty(value="id")
    private Long id;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "订单编号")
    private String OrderNumber;

    @ApiModelProperty(value="分销人id")
    private Long distributionUserId;

    @ApiModelProperty(value="订单总额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "预订状态")
    private Integer scheduledStatus;

    @ApiModelProperty(value = "取消状态")
    private Integer cancelStatus;

    @ApiModelProperty(value = "付款到期日期时间")
    private LocalDateTime payExpireDate;

    @ApiModelProperty(value = "查询号码")
    private String queryNumber;

    @ApiModelProperty(value = "订单创建时间")
    private LocalDateTime gmtCreate;
    // 公共字段↑

    @ApiModelProperty(value = "订单行程类型 1.单程 2往返 ")
    private Integer tripType;

    @ApiModelProperty(value = "船票航程信息")
    private List<MyShipOrderRouteDTO> shipOrderRouteList;

    @ApiModelProperty(value = "付款状态")
    private Integer paymentStatus;

    @ApiModelProperty(value="C端用户Id")
    private Long userId;

    @ApiModelProperty(value = "小店id")
    private Long shopId;
}
